package util;

public class MathUtil {
	public static double computeDistance(double x1, double y1, double x2,
			double y2) {
		double xDist = Math.abs(x1 - x2);
		double yDist = Math.abs(y1 - y2);
		return Math.sqrt(xDist * xDist + yDist * yDist);
	}

}
